/* General Reset */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Category Card Styles */
.card {
 
  border: none;
  border-radius: 12px;
  height: 100%;
}

.category-item img {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 8px;
}

.category-item span {
  font-size: 1rem;
}

.category-item {
  cursor: pointer;
  transition: background-color 0.3s;
  border-radius: 8px;
  padding: 5px 10px;
}

.category-item:hover {
  transform: scale(1.05);
  background-color: #e9ecef;
}

/* Carousel Styles */
.carousel-inner {
  border-radius: 10px;
  overflow: hidden;
}

.carousel-item {
  transition: transform 0.6s ease, opacity 0.6s ease;
}

.carousel-item img {
  width: auto;
  height: 70%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 8px;
}


/* Hide Carousel Controls */
.carousel-control-prev,
.carousel-control-next {
  display: none;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .category-item span {
    font-size: 0.9rem;
  }

  .carousel-item img {
    max-height: 250px;
  }

  .p-4 {
    padding: 1rem !important;
  }
}

@media (max-width: 576px) {
  .category-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .category-item img {
    margin-bottom: 0.5rem;
  }
}